package com.quiz.bis.domain.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quiz.common.core.domain.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 题目答案
 *
 * @author ahuan
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("question_answers")
public class QuestionAnswer extends BaseModel {
    @TableId(type = IdType.AUTO)
    private Long id; // 主键ID
    private Long questionId; // 题目ID
    private String content; // 答案html内容
    private String contentText; // 答案文本内容
    private String processedText;// 处理后的文本
    private Integer sort; // 排序
}